<?php



namespace App\Services\Business\Models;
use App\Services\Business\Models\Base;
use App\Services\Member\Models\User;


class UserRedpacketRecord extends Base
{


    protected $table = 'user_redpacket_record';


    protected $fillable = [
        'receiver_id','sender_id','run_id','red_packet','blessing_words','reply_words','order_id'
    ];

    public function sender()
    {
        return $this->belongsTo(User::class, 'sender_id');
    }

    public function receiver()
    {
        return $this->belongsTo(User::class, 'receiver_id');
    }
    public function run()
    {
        return $this->belongsTo(Run::class, 'run_id');
    }










}
